﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucCompanyView.ascx.cs" Inherits="MyWeb.Admin.Usercontrols.ucCompanyView" %>
<div id="page-content">
    <div id="page-header">
        <h1>
            <asp:Label ID="lblPageHeader" runat="server" Text="Chi tiết công ty"></asp:Label></h1>
    </div>
    <div class="container">
        <div class="box-header">
            <asp:Label ID="lblBoxHeader" runat="server" Text="Thông tin chi tiết"></asp:Label>
        </div>
        <div class="box">
         <table id="myTable" class="admintable" cellspacing="1" width="100%">
                <tr>
                    <td class="auto-style1"></td>
                    <td colspan="2">
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" />
                    </td>
                </tr>
                <tr>
                   <td class="key">
                        <asp:Label ID="Label1" runat="server" Text="Tên công ty:" Font-Bold="True"></asp:Label>
                        <asp:HiddenField ID="hfId" runat="server" />
                    </td>
                    <td colspan="2">
                        <asp:TextBox ID="txtName" runat="server" Width="300px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Tên nhóm công ty được bỏ trống" ControlToValidate="txtName" ForeColor="Red">(*)</asp:RequiredFieldValidator>
                    </td>
                </tr>

                <tr>
                    <td class="key">
                        <asp:Label ID="lblremk" runat="server" Text="Địa chỉ:" Font-Bold="True"></asp:Label></td>
                    <td  colspan="2">
                        <asp:TextBox ID="txtAddress" runat="server" Width="300px" Height="50px" TextMode="MultiLine"></asp:TextBox>
                        &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Địa chỉ không được bỏ trống" ControlToValidate="txtAddress" ForeColor="Red">(*)</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="key">
                        <asp:Label ID="lblremk0" runat="server" Text="Điện thoại:" Font-Bold="True"></asp:Label></td>
                    <td colspan="2">
                        <asp:TextBox ID="txtPhone" runat="server" Width="200px" TextMode="Phone"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Điện thoại không được bỏ trống" ControlToValidate="txtPhone" ForeColor="Red">(*)</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="key">
                        <asp:Label ID="lblremk1" runat="server" Text="Email:" Font-Bold="True"></asp:Label></td>
                    <td colspan="2" >
                        <asp:TextBox ID="txtEmail" runat="server" Width="200px" TextMode="Email"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="Email không được bỏ trống" ControlToValidate="txtEmail" ForeColor="Red">(*)</asp:RequiredFieldValidator>
                    </td>
                </tr>
            </table>
        </div>
        <div>
            <asp:Button ID="btnSave" runat="server" CssClass="button" Text="Cập nhật" OnClick="btnSave_Click" />
        </div>
    </div>
</div>
